<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
        <title></title>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">

         <!--app-->
        <link rel="stylesheet" href="css/fonts/font-awesome.min.css">
        <link rel="stylesheet" href="css/ui-box.css">
        <link rel="stylesheet" href="css/ui-base.css">
        <link rel="stylesheet" href="css/ui-color.css">
        <link rel="stylesheet" href="css/appcan.icon.css">
        <link rel="stylesheet" href="css/appcan.control.css">
        <link rel="stylesheet" href="css_sdk/css/main.css">
        <link rel="stylesheet" href="test_content/css/login.css">
        <script src="js/jquery-1.8.3.min.js"></script>
        <style>
            .am-header-default {
                background-color: #eb1111;
            }
            .bc-btn {
                background-color: #eb1111;
            }
            .logo {
                background-image: url('images/logo.png');
            }
            .umhw1 {
                min-height: 9.16em;
                min-width: 13.5em;
            }
            
            .umar-a {
                margin: 1em;
            }
            .bc-head {
                background-color: #eb1111;
            }
            .lis-icon-s {
                /*width: 2em;*/
                /*margin: 0em 0.4em 0em 0px;*/
                 min-height: 0em; 
            }
            .bc-border {
                border-color: #E2E0E0;
            }
        </style>
        
           <script>
               
                if(localStorage.getItem("user")!=null){
                      var strUserRole=localStorage.getItem("role");
                       var strID=localStorage.getItem("user");
                       $.ajax({
                           type: 'POST',
                           url: "http://101.200.158.44:80/CosmeticSunyuxiWebService/services/HuiyuanManageWebService/EmployeeList",
                           data: {"Type":"Search","UserRole":strUserRole,"ID":strID},
                           success: function(data){
                               var html="";
                               $.each(data[0]["yinPaiList"],function(idx,item){
                                  html+='<li class="ubb ub bc-border bc-text ub-ac lis" data-index="0" onclick="click_sub()">'
                                              +'<div class="lv_title ub-f1 ub ub-ver ut-m line1">'+item.f2+'</div>'
                                          +'<div class="lv_title ub-f1 ub ub-ver ut-m line1">'+item.f1+'</div>'
                                          +'<div class="tx-r sc-text ulev-1 umar-r lv_subTitle">'+item.f4.substring(0,10)+'</div>'
                                          +'<div class="fa fa-angle-right ulev2 sc-text"></div>'
                                          +'</li>'
                               });
                               
                               document.getElementById("listview").innerHTML=html;
                           },
                           dataType: "json",
                      });
                }
           </script>
</head>


<body class="um-vp bc-bg" >

        <div id="page_0" class="up ub ub-ver" tabindex="0">
            
          <div id="header" class="uh bc-text-head ub bc-head">
               <div class="nav-btn" id="nav-left" onclick="javascript:history.go(-1)">
                    <div class="fa fa-angle-left fa-2x"></div>
                </div>
                <h1 class="ut ub-f1 ulev-3 ut-s tx-c" tabindex="0">我推荐的加盟店</h1>
                <div class="nav-btn nav-bt" id="nav-right"></div>
        </div>
           <div class="ub ub-ver" id="listview1" style="background-color: white;">
               <ul id="listview">
                   
                     
                    
               </ul>              
           </div>
        </div>
    <script>
        function click_sub(temp){
            window.location.href="usearch.html";
        }
    </script>

</body>
</html>
